﻿using System;
using System.Web;
using System.Web.SessionState;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;

namespace tPlat
{
    public class User : IRoom
    {
        private int id;
        private string username;
        private string password;

        public User(string newName, string newPass, string newId)
        {
            username = newName;
            password = newPass;
            id = Convert.ToInt32(newId);

        }

        public int getId()
        {
            return this.id;
        }

        public string getUsername()
        {
            return this.username;
        }

        #region IRoom Members

        void IRoom.showRooms()
        {
            throw new NotImplementedException();
        }

        void IRoom.bookRoom(int telephone, string booker, string endDate, string startDate)
        {
            throw new NotImplementedException();
        }

        void IRoom.cancelReservation(int id)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
